package com.pctx.bibaregisterlogin.dao;

import com.pctx.bibaregisterlogin.pojo.Department;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DepartmentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Department record);

    int insertSelective(Department record);
    Department selectByname(String name);
    Department selectByPrimaryKey(Long id);
    Department selectByUuid(String uuid);
    List<Department> selectByCompanyuuid(String uuid);
    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);
}